Update libreg lim.h to add invert_limits flag to lim_meas struct and init meas and ref limits functions
Update libreg lim.c to remove tabs and add support for invert_limits flag