Fix ball into wall issue and introduce momentum.
Occasionally balls would slip into the wall due to too general of if
statements. Momentum is introduced for further enhancements to the
engine.