public static double[] findChanges( long[] yearArray ) { double[] percentChange = new double[yearArray.length - 1]; for (int i=1; i