What factors influence the amount of inertia an object has?