After a few days of reading many posts and threads about this subject I've decided to write my version of how I got it to work:

1)Download cuda_5.5.22_linux_64.run from Nvidia website.

2) apt-get purge nouveau* (To uninstall the default Nouveau driver)

or

apt-get --purge remove xserver-xorg-video-nouveau

3) apt-get upate && apt-get install -y linux-headers-$(uname -r)

Install Nvidia driver try using:
chmod 755 cuda_5.5.22_linux_64.run
./cuda_5.5.22_linux_64.run -kernel-source-path=`/usr/src/linux` (check commas)

3a)If this does not work do the following:

apt-get install nvidia-kernel-dkms (this worked for me)

reboot

If blank screen type:
nvidia-xconfig
This should generate an xorg.conf file
copy xorg.conf to /etc/X11/ if not already located there.

4)If using the nvidia-kernel-dkms method then run ./cuda_5.5.22_linux_64.run again but chose not to install the nvidia driver and just the cuda toolkit.

5)Once the cuda toolkit is installed the $PATH's need to be updated to BASH so nvcc can be run.
Type the following in console:
echo PATH=$PATH:/usr/local/cuda-5.5/bin >> ~/.bashrc
echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.5/lib64:/lib >> ~/.bashrc
echo export PATH >> ~/.bashrc
echo export LD_LIBRARY_PATH >> ~/.bashrc
source ~/.bashrc
ldconfig

6) Type nvcc -V in console to see if the cuda compiler is configured correctly.

7) apt-get install python2.7-dev python2.7-libpcap libpcap-dev

8)Download tar.gz files from Pyrit website:
tar -xvzf pyrit-0.4.0.tar.gz
tar -xvzf cpyrit-cuda-0.4.0.tar.gz

9) Edit setup.py to change the path to nvcc. Change /usr/local/cuda-5.5 (just add the -5.5)

10) Install Cyprit
cd /cpyrit-cuda-0.4.0/
python setup.py build
python setup.py install


11) Install Pyrit
cd /pyrit-0.4.0/
python setup.py build
python setup.py install


12) Test
pyrit list_cores