Added non-recursive probability method fix.