First commit, it already allocates, checks evironment and has some function prototypes

It fails at allocating on device and LUing properly though
Merge branch 'master' of github.com:rhaps0dy/cudaMatrix