A least-squares method for fitting the hill equation to data from several animals