Added constantRay to array.js. Updated carmichaelJS

constantRay generates an array of n elements and where
each value of the array is the constant c. This will be
used in my vectorSpace constructions.