Added Same function for comparing if floats slices contain identical elemens