Merge pull request #14 from slavap/master

Minor performance tweaks: List -> array, removed two excessive multiply in Trace()