added RHuniv criteria & prevHaz criteria, fixed weightfxn to return something