An Introduction to gear failure mechanisms and design optimisation