A Penalty Function for Enforcing Maximum Length Scale Criterion in Topology Optimization