Specialized matrix to matrix<float>