A simple wrap-up from end-member statistics from Seidel&Hlawitschka (2015) based on Weltje (1997) algorithm, all credits to them. https://link.springer.com/article/10.1007/s11004-015-9609-7 https://link.springer.com/article/10.1007%2FBF02775085
RECA() #main function