added collinearity test to library
wrap lines for consistency