Code changes as per post-mtg-101514-feedback-R2:Done. Now making further changes: extracting R2 from mthd2 and mthd3. From henceforth, I may not be very specific about updates and simply say updates