Fixed bugs with wash sales. Rewrote a lot of it (it's originally from
1997 and was written with all the rush of tax season)