Updates to m-line finding. Fixed typo bugs.