Gravar-mail: SHADOW3: a new version of the synchrotron X-ray optics modelling package