572573574575576577578579580581582
kk++; } // invert the above calculated matrix Matrix mat = new Matrix(this.weights); mat = mat.inverse(); this.weights = mat.getArrayCopy(); } // Calculate the derivatives