Added curve calculation to tone curve primitive