The IDL functions calc_t, calc_dm, calc_vol and calc_scale are only interfaces for passing the parameters on to library routines in the file calc_lib.so. The code for this file was written in C. This approach was used to safe runtime.