Changed generated notes to txt format and added Math methods.