Some stuff related to different math fields (e.g. optimization)