Update RSAnalyzer.h

Some reorganisation for functions.