Added main function and some util functions to equilibria.cu