Moved all code for functions in eigenverb_model to cc file, as should have been done initially.