time elapsed calculations exer2a done gengaussmask done