Statistical Calculator written in Java