Some work done in the linearoperations files. Code is still compiling. Ignore comments that say how we should access memory and stuff, most of those are already implemented by the caller function, however we must check that they are actually been sent to the device memory :).