Mean from a Frequency Distribution