Calls stan::math::log_mix rather than explicit calc for error_handling
purproses
Unit tests include domain errors
nan and std::domain_error tests added