Update libreg/src/rst.c to use double for all RST calculation variables and remove debug printfs