Added function that computes the score equations in terms of the s-variables.