The Multiscale Coarse-graining Method. II. Numerical Implementation for Coarse-grained Molecular Models