include math.h, add onset timestamps, fix default block and step sizes, switch to...