python: optimization on the Stiefel manifold, remove trim
python: optimization on the Stiefel manifold, remove trim

- also cleanup some assert statements and output

toxa81/sirius,toxa81/sirius,toxa81/sirius,electronic-structure/sirius,electronic-structure/sirius,toxa81/sirius,electronic-structure/sirius,toxa81/sirius,electronic-structure/sirius,electronic-structure/sirius,toxa81/sirius,electronic-structure/sirius,electronic-structure/sirius