I'd be worried about the madtom making an attempt to eat the cories a well. It may not end well for either of them. Crays are also unreliable, and form part of some madtoms diets in the wild. According to Wikipedia and Fishbase, they seem to be nocturnal, secretive, and highly predatory. You hat only know they are there when you see your other fish disappear.