Fixed Agent class for velocity.
Added comments to the Agent entity.