added timing in raycasting test