ENH: make check_strict_monotonicity consistent with check_nan, remove whitespace, better doc strings.