Stripped Karplus - Strong algorithm implementation