Added error handling code.
Moved error code to error.go.
TogglePanic added and slight renaming of standard MatrixError instance names.
Finished first draft of package comment.