fixed major typo in computation of H in FormFunction, now multimode works! However, second threshold is still wrong at 0.48 instead of 0.42 as I remembered...