editing environment matrix to be numeric and starting code to analyze regional environmental data