added sum and fsum into array (with tests) for convenience and consistency.
also fixed typo in docs.
Fixed doc typo (sum -> fsum). also clarified that elements in the lis…
…ts are of a specific type.
added sum and fsum to array module for symmetry with List module.