Update .gitignore to ignore Mac .DS_Store files
Update test function to refactor window_contorl to use_window
Update libreg delay to move understampled flag to real-time function from init function
Update libreg/src/sim.c to use M_PI from math.h instead of local PI
Update libreg.h to add struct reg_voltage and other files to use the new struct