Matching the Evolution of the Stellar Mass Function Using Log-normal Star Formation Histories