Added computation time measurement.