Added some new features like timer, 2d-aligned cuda pointers.