Mean Distance between Maximas has been added