Description:
getDimVector is changed to be an int vector instead double vector