update rdata
update functions with descriptions

added new find_qss function
simplified analysis script