updated the survival functions. Still to add is a variable step length depending on the intergration boundaries
The precision of the integration is now addaptable through a constand in the constands header. All implemented function appear to work as wanted