pulled out detect methods to private functions
added na.rm argument
outlier documentation updated for additional args