mean

Calculates the mean value of the FloatArray.

Returns 0f if the array is empty.