Design and Optimisation of Optical Metasurfaces Using Deep Learning