mono.check code included in ddf, documentation updated, tests

mono.check now automatically checks to see if the fitted detection
function is monotonic