Code which is related to my thesis work.