restart the integration of greg, by copy pasting one element at a time, and understanding what each bit does... plus renaming pmh_ to mp_
... forgotten changes... finally committed.