Computing the Equilibrium Configuration of Epitaxially Strained Crystalline Films