Split variable string if it contains multiple variables in Scorecards_calculations(); bugfix and formatting