all the code in scatter.cu compiles. but the core routine is not implemented yet