adjusted the radial approximation by a better way of determining weights and centers