Fix issue regarding having to cast AnyPhenotype!(double)

  - For phenotypes, need to use phenotype.value to grab the actual
    value.