Using Kernel::Index type instead of int to prevent possible implicit conversion from long to int.
Using Kernel::Index type instead of int to prevent possible implicit conversion from long to int.

robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen