Removed System.out.println all over the place and added check in Physics.java for diversion by zero.