Renamed bd3 to gd3 and bd4 to gd4
Added code to evaluate in kernel.cu