Female Labor Supply with Taxation, Random Preferences, and Optimization Errors