adding utility function to get center of gaussian in eigen format

message describing the commit