added functionality for left and interval censored data, made some ammendments to the second derivative computations and generally improved the code here and there