Maximum likelihood estimation of a generalised STAR(p,l) model