Added assertions to Lime library, added linear and angular impulse methods and functions