made log solver with mu variable
fixed error in jacobians