Factor out the print_xmin from the print methods
Print method
Fix index inconsistency
Print to screen in test using print method