Inline linear capping machine for bottle and Jars