Support sum_squares and measure_time

sum_squares will be omitted if not supplied, measure_time will default
to the current epoch time.