A little exercise in linear algebra and WPF from 2012