Rename RealVec to FloatVec and use Float trait constraints