There are a lot of errors in the synthesis here.
You write that you need 2,2-Diphenyl-3-methyl-4-dimethylambutyronitrile,
this is not the correct nitrile isomer and you can obtained from it only isomethadone.
2,2-Diphenyl-3-methyl-4-dimethylamino butyronitrile does not have a crystalline form.
You write: "It was then recrystallized from petroleum ether to give 900 g of 2,2-Diphenyl-3-methyl-4-dimethylambutyronitrile."
Initially, you started correctly,
and said that you need 4-cyano-2-dimethylamino-4,4-diphenylbutane.
4-cyano-2-dimethylamino-4,4-diphenylbutane (Premethadone)
CAS: 125-79-1 is the correct nitrile. Only from it you can get methadone.
In the synthesis of a nitrile, you don't use a solvent...
Also, you don't use a Catalyst, which shifts the reaction in the right direction to increase the yield of the desired nitrile.
You are left with a lot of unreacted precursor, since the deprotonation must be done in the presence of a catalyst.
I'll disappoint you, but you can't get methadone in THF, you can get methadone only through ethyl ether.. The addition reaction does not work in THF.
In your synthesis there is no word about the purification of nitrile, therefore it is dirty and black under the conditions that you describe.
I don't know where you got this synthesis, but you won't get anything good - sorry.