Removed sqrt from variance gpu calculation to make results match with sayantan's implementation.