LASER APPLICATIONS AND OTHER TOPICS IN QUANTUM ELECTRONICS: Optimisation of a grating device for coupling radiation in and out of a thin-film waveguide on a silicon substrate