Fixed minimal_polynomial, polys solve stuff
Possibly temporary changes

Added _dist_cont method to classes to return self