This thesis would certainly not have come to its completion without the help, support and trust of colleagues, friends and family. First, I would like to sincerely thank my advisor Robert J. Brunner for his help, guidance, advice, support and freedom during this work, for believing in me even before starting the thesis and for our extended brainstormings and interesting conversations about research, science, computing, family life and obviously soccer and for making this thesis a enjoyable experience. I am also grateful to the members of the thesis committee for their interest, comments and for taking the time to evaluate my work.I also want to thank my friends and colleagues in the Astronomy department who contributed to create and maintain a friendly and stimulating working environment during these four years. To Gary for his friendship, his help, our conversations and for suffering with me through several classes during our coursework.To Rukmani for her friendship, support and for her coffee companion during these years and for making CosmoCoffee a real thing. To Manuel and David for our lunches and lively Spanish discussions and friendship.To Jessica, Dom, Nachi, Andy, Michael, Margaret, Ian, Ashley, Ricky, and many others for being very friendly, for their understanding that I wish I'd had more time to spend with them. Special thanks Yiran and Edward for their support, discussions and for making our office a very enjoyable and friendly place. I would also like to thank many other people in this department for their support, advice and help: Special thanks to Judy and in particular to Jeri for their substantial help and for making this department a home-like place to work.I also want to acknowledge and thank my parents for their support from such a long distance, for doing the best in providing me with the best education and tools that helped to become the person I am today.Without their hard work, love, and support, none of this would have been possible. To my sisters for their love, support and for always being there for us. I would also like to sincerely thank my parents-in-law and sister-in-law who constantly traveled and helped us when we needed them. Their support and company v during the born and care of our three kids is unimaginable and without their help I couldn't have gotten through this thesis.Last but definitely not least I would like to express my infinite gratitude to my wife Andrea, to whom this work is dedicated. Without her love, company, support, help, kindness, and advice I would not have been able to do this thesis. During these four years there was not a moment in which she wasn't supporting and encouraging me, especially on the toughest and stressful of times she was able to remain calm and to provide love and peace to overcome them. All of this while being responsible for the care of our three happy and active little monsters. For her admirable dedication, love and unconditional support I will be eternally grateful.
Technical acknowledgmentsI gratefully acknowledge the use of the para...