In every crime or public offense there must exist a union, or joint operation of act and intent, or criminal negligence.