Fixed errors in scoring_alg_simplified

- Had incorrect arguments for size function, was using vectors instead
  of scalars. Fixed so scalars are now arguments to function.