Use precalculated postion for timeElapsed

Fixes #77