Added function to convert vector to intensity, inc, dec
Merge branch 'devel' into eqlayer