fixed solve_psd I broke earlier this week
Merge commit '3682d3a99a3b3e0ac6ea3197b786e6e8a0726f0d'