added class that converts from Mat obj to BufferedImage for display in JFrame