added 1s integral to main.cu