Slight changes to age synthesis methods

Added writing model to txt file for using in C++