Modeling submillimetre polarization of molecular cloud cores using successive parametrized coordinate transformations