Move logic from SurfaceRadiosity to OptimizationFunction base Class