added sample code to change screen buffer size
Corrected harmonic proportion definition