Bundle.calcElements calculates too many #295.

Ignore methods with '$' in their name, as they are compiler generated,
and their semantics are unspecified.
Merge pull request #296 from ucb-bar/calcElementfix295

Bundle.calcElements calculates too many #295.