Convert float matrix to abstract float

You don’t have to convert the matrix type.