Update of getTargetScaleScore argument passing and bug fix for CSEM calculation