added arguments to function computeMaxFroudeNumber