moved deletion and insertion check functions from genotpye.cpp to lhmm