Update ReferenceData.pm

Further error checking; adding notes;