Merge pull request #31 from dave-andersen/master

Performance optimization patch 1:  The algorithms.  Incorporates filter-...
check in code to perform margin calls
revert momentum update, fix some bugs in margin call code
Pulling in upstream changes while retaining speed optimizations