Scalar mode analysis of parabolic index fibres using continued fractions