Method of calculating Mode in Continuous Series