First-Principles-Based Modelling Of Improper Ferroelectricity