This is was a part of my bachelor project.