some additions and a bug in inertia() which causes bullets to do strange things...