complete gradient computing