I replaced // style comments to /* */ comments since MEX didn't like old
way.