public static float GetMelaninSimilarityFactor(float melanin1, float melanin2)
        {
            float min = Mathf.Clamp01(melanin1 - 0.15f);
            float max = Mathf.Clamp01(melanin1 + 0.15f);

            return(GenMath.GetFactorInInterval(min, melanin1, max, 2.5f, melanin2));
        }
 private static float GetAgeFactor(float ageAtBirth, float min, float max, float mid)
 {
     return(GenMath.GetFactorInInterval(min, mid, max, 1.6f, ageAtBirth));
 }