Added tests for coefficient of determination and a new explicit function.