A Generalisation of the Moore-MacNeish Construction of MOLS for SOMAs