Changed the way the variables are averaged in the JST KE scheme