Using chol2inv(chol()) instead of solve() for inverting symmetric
matrices (faster than solve()). Streamlined constrained code to remove
cruft and also remove weight constraint that could lead to undesirable
outcomes.