Fixed error in binomialfit function