m.combine function

Internal function for author's convenience and more legible code.