fixed semidefinite var so also symmetric