add program for computing NM and MD aux fields