took care of minor TODOs
not computing second derivative of mixing parameter