Imported from https://github.com/RaulBz/Master_Thesis