This is my masters project at the University of Victoria