patches: fixed bug in computation of simulated patches, add computation of simulated patches to patches_gmZoranWeiss.cpp