Outter most loop was over the Rk's when it should of been over enots.