Several fitness related calculations implemented with Java and Swing