Added the same changes to the interface as for 6_2_X, uses newer functio...

Some changes to the interface to use some newer functions from sherpa. Some of these changes are needed in order to work with Sherpa 2.1.1