fixed correct handling of sdmax in gaussMatch and AmbergRegister