SMS dit: Complex-valued matrix derivatives