implemented readf32 to return a direct reference to a C array of floats
as a numpy array