Simple Substitution Distance and Metamorphic Detection