State-vector formalism and the Legendre polynomial solution for modelling guided waves in anisotropic plates