Added and tested sparse GS,changed fnct calls