simplifications and adjustments in explained_variance and r2