A faster algorithm for BigNumber pi
Index now accepts a Matrix as well as input, downgrades to Array
Removed unnecessary names of functions