getLapElapsedTime, TODO: improve precision, reduce computation overheads
removed constructor, added static initializations