Calculates RFL and adds it to TreeCmp table
v0.2 added treeset/single type option
shell wrapper script for RFL script