Fixed methodOfCenters.jl everything should work. Now to optimize