Collection of Functions wrote for Master's Thesis