Jialei gh297 speed up gpu computation on ei grad ei

********* PEOPLE *************
Primary reviewer: @suntzu86 

Reviewers: @sc932 

********* DESCRIPTION **************
Branch Name: jialei_gh297_speed_up_gpu_computation_on_EI_gradEI
Ticket(s)/Issue(s): Closes #297 

********* TESTING DONE *************
make test
cpplint.py
this seems like it'll stack up to a large amt of shared memory very quickly. you have any idea how much & how quickly? how large can num_union be before we run out of shared_mem