changed comparision function made it much simpler using built in functions added exp as a prob dist to check for