hw1prob2parta - the partials, taken with respect to K, given all the point p1. p2. ... pm