step
fun step(weights: List<Double>, examples: List<Pair<Double, Double>>, learnRate: Double): List<Double>
One GD step. examples are (x, y) pairs. Returns the updated [w0', b'].
Operation order is load-bearing: it is replicated verbatim in fedavg_train.wat, so the two produce bit-identical f64 results on the JVM.