Replaced value checks with asserts.  Removed dead commented code for eva and fir
docsting improvement
Added some sanity checks for X
Added some sanity checks for X
Internal error checks converted to asserts