Adding gaussian contact functionality. newton/solver ready to be tested.