Changed timing to more precise chronos (nanosecond precision)