XCos toolbox