Using Index type instead of hard coded int type to prevent potential implicit integer conversion.
Using Index type instead of hard coded int type to prevent potential implicit integer conversion.

madlib/eigen,madlib/eigen,madlib/eigen,madlib/eigen