fixed ugly bug where data from previous iteration gets used in the next iteration
changed plnorbmethod from RV to rv