Added and updated math files.