The resume SD is finally working!!!!
1). Multiple fixes, the pi ratios calculation is now working. (For loose or nominal tolerances, 512 of most recent ratios now are stored correctly).
2). resumeb.c and resumeb.h are added to write and read data structures in binary format.