Dendritic Computing with Multi-Gate Ferroelectric Field-Effect Transistors