Pull out enums into its own file and use enums from future
GPU accelerated expit function
Introduce a decorator to manage array types into and outof gpu functions