Fixed the least squared to only use points marked for use, was before using zero points when it shouldn't have, causing lines to be wrong