Normalizes the FloatArray using the given mean and std.
Formula: (value - mean) / std
(value - mean) / std
if std is zero.