Mark,
This calculation needs an option for dealing with short positions. As it is now, the short positions reduce the asset totals and the fees. Many (most?) advisors who have short positions would ADD those to the assets under management to calculate the fees (the short positions add work to managing the portfolio, not make it easier). I think you need an option here in your management fee setup.
Elliot