Revert "used smartpointers in BuildGPModel (learned a lot today)"
Because I did not learn enough: I get
*** caught illegal operation *** blown in my face

This reverts commit c7ef8fba22271798bd53fa547058c44edb7677be.
fixed GPmodel (wrong argument)