Beam finite-element model of a molecular motor for the simulation of active fibre networks