Removed a redundant operand in an equation in #checkForCollisions.
Added the 'falling' attribute for detecting collissions with roofs.