Fixed problem calculating r2