fixed the mrci_calc logic and appears to be working to generate accurate mrci's for all of the special instructions included.