Added javadoc comments to Calculator.java