Switch form math.Pow(x,2) to x*x for performance
Compute rows eagerly for in-memory dataset for performance
go fmt ./...