Master of science thesis - chapter 6