added function for calculating cpu
Merge branch 'master' of github.com:bleveque/lechuga