Add MatrixFactory::createFromComplex method