PhenStat development version with RR+ functions