Add `axis` keyword functionality to unary methods.
Many numpy functions support the axis
keyword in order to perform an operation only along certain directions of the array. The current implementation of d2o does not support this, e.g. for all
, any
, sum
, etc...
Related to: theos/NIFTy#3