Updated code for new versions of ARClib and ErrorLib
Removed unnessisary commands