From CMU, moped, modified for continuous score verificaton