BUGFIX: Fix to moments in CPU backend
BUGFIX: Fix to moments in CPU backend

shehzan10/arrayfire,marbre/arrayfire,ghisvail/arrayfire,9prady9/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,merlin-ext/arrayfire,merlin-ext/arrayfire,shehzan10/arrayfire,umar456/arrayfire,munnybearz/arrayfire,ghisvail/arrayfire,umar456/arrayfire,arrayfire/arrayfire,munnybearz/arrayfire,9prady9/arrayfire,umar456/arrayfire,marbre/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,munnybearz/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,merlin-ext/arrayfire,victorv/arrayfire,9prady9/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,marbre/arrayfire,marbre/arrayfire,umar456/arrayfire,victorv/arrayfire,ghisvail/arrayfire,victorv/arrayfire,arrayfire/arrayfire