A standard deviation calculator in Java