The court determened that the individual mandate is essentially a tax on individuals wealthy enough to afford health insurance but who choose not to purchase it.
Since congress has the power to tax, the fine is to be considered a tax and is therefore not subject to or relevant to the Commerce Clause.