As I said I don't have taper experience but I've read that using a liquid is easier than dry so I'd probably go with that. We can help you figure out your method and taper rate.
It sounds like you're dealing with interdose withdrawal, even though Temazepam has a longer half life than Ambien, its still a lot shorter than other benzo's.
I would suggest dosing at least twice a day but of course, this will interfere with your sleep but insomnia is pretty much going to be your constant companion until you're off the drug and recovered.