User: Replace Sven's MWPC code by up-to-date implementation