Modding function_DTI_CHARMED_scanner_parameter to take the new value of bmax. Talk to Silvia about centralizing the parameters in an initialisation function.