cleaned up script to calculate functional beta diversity for future. Test that it works. MNTD seems to take a LONG TIME to work
organized headers more clearly for analog/nonanalog section of code and added spacing for readability