Removed redundancies for sensor port allocation. Added lotsa tests
Merge branch 'master' of https://github.com/kmackinnon/DPM-TEAM09.git