Copter Crash. Very rapid attitude changes

Hey Folks,

Had a very interesting crash today. Upon takeoff the copter started making very rapid attitude changes and ultimately lost control and flew itself into the ground.

If anyone could explain this I would really appreciate it.

Log file attachment: https://www.dropbox.com/s/ehzvqneddm3wutq/21.BIN?dl=0

Thanks