Edit class Image

Memory allocation change from "new" to cudaMallocManaged.