Minor modifcation, now takes in full jacobian and interiorly uses 3x7