In Heimdall, I went to the flash tab, selected the original .pit file. Then, for the Partition name I choose KERNEL and selected zImage from CWM. Then I pressed start and Heimdall returned this error. "ERROR: Failed to access device. libusb error: -12"
I have found this guide
http://forum.xda-developers.com/galaxy-nexus/general/bricked-gnex-brought-to-life-t1760787
And this video
http://www.youtube.com/watch?v=GbAJH_mL6N4
And I have managed to install the omap4430 driver but it still can't be used. When I press properties on that, next window opend and under Device Status it says " This device cannot start. (Code 10)" And I don't know how to fix that. But this solution seems like the best one I have.
Edit: I have managed to make Heimdall recognize my phone and now it is stuck at flashing kernel on 100%.
Edit2: It has failded. This is the log:
ERROR: Failed to confirm end of file transfer sequence!
ERROR: KERNEL upload failed!
Ending session...