added function signature declarations and model compile tests for rep, added to model header