Design of an basis-projected layer for sparse datasets in deep learning training using gc-ms spectra as a case study