JMA function

Title Johnson-Mehl-Avrami (JMA)