clean up matrix code
new operator << for matrix
fix linking error
new operator << for date