second order integration added in device
Working second order integration on device.cpp