Added parameters as optional arguments. Modified function to return list of pupil metrics.