add a basic Mat-Vec-KSP to put in intro; other fiddles including using some C99 features