feedforward1 (optimized)