Update Core.java

Added methods to obtain means and sums for all different account types