Port to linear

Added functions `fromOrthogonal` and `fromSymmetric`, `eye` and `scaleFromTransform` to `Diagrams.Core.Transform`.
This could probably use a bit more explanation.  I didn't understand what this function was supposed to do until I actually read the code.