Added C code/test for loadRealParameter function