Implemented a cuda autodetection feature in the build system. It is completely backwards compatible but if no options concerning cuda are given during the configure stage, it tries to find cuda in /usr/local/cuda.