improved statistics
added macro to LOWESS smooth detector efficiency