added functions to calculate delta/mu in real time

these functions are in realTime_functions and are only for ddepn and
dream insilico so far