Added function to convert vector to intensity, inc, dec