fix for MSVC "warning C4717: 'device_image_interface::fread' : recursive on all control paths, function will cause runtime stack overflow" (nw)
fix for MSVC, I provided the wrong version number to couriers (Visual Studio 2013 is 1800 & I believe that supports log1p but I haven't tested it yet) (nw)