Update ActivityCalculator.java

Removal of some toxic code.