typo in parameter assignment, theta[1]-theta[2]. now converging