Computational Mechanics of the Classical Guitar