checks to prevent memory overwrites in meterD0
Merge pull request #81 from mbehr1/fix_mem_meterD0_squashed

checks to prevent memory overwrites in meterD0