fixed qtwidget.newimage to actually accept tensors.
Merge pull request #6 from jonathantompson/newimage_fix

fixed qtwidget.newimage to actually accept tensors.