Use nanosecond accuracy, introduce mean, various fixes
0.1.1