Change coordinate to LHS, fix some bugs 11/22