updated poseclassification in mastermind so that it can deal with continuous frames