Calculus of Variations on Thin Prestressed Films