added cml header library
changed code to work with cml vectors