decided to change gapScorringParamters to template <NUM>