more robust search for GPU
more comments
segfault occuring
working version that also sets hotspots
working version that also sets hotspots
using pointers for images
compiling, but performs wrong calcuations