matrix elements are floats