bendzasky: kernel v2

added getMatrix which returns pointer to matrix (lazy solution),
needed to convert double to float, my version of cuda doesnt allow double format in kernel (a lot
of time wasted on this problem)