Downgrade cmake version from 2.8.11 -> 2.8.7 (default in Ubuntu 12.04)
Add function accumulate(array, init, op), sum(array), mean(array)