A projected gradient method for optimization over density matrices. (3rd March 2016)