Code to compute the CRPS performance metric