Add convenience routine to take a dense vector / matrix to a PyOpenCL array