Performed once for each evaluation of the right hand side of the NMSE 