Changed parameter type to be Array<Double> for scaleExtent and translate

Before I used double[] as the parameter but I think Array<Double> is more appropriate. I apologize for not noticing this sooner.