new cuda interface functions
move code to a separate function
stop macros moved
new gpu api
fixed formatting
some fixes in mdarray.h
gpu implementation
new function added
stop macros moved here
get spline coefficients