fixed wrong membershipProbability initialisation; some minor fixes