cleaned up timing code and examples; N.B. renamed lineAndImpulse function