First principles analysis of vibrational modes in KNbO3