Minor changes to rwanalysis.py