Title: First-Principles Calculations for Ferroelectrics