Added basic algorithm for fluctuating markets based on probability.