added hard kinematic cuts and cleaned up some code / documentation