Added in perfectly inelastic collisions with a boolean to turn them
on/off.