Added JavaDoc comments to ChangeMachine.java