Linebreakings. Bug fixes

Gauss thansformation bug fixes