First commit of working code

First redesign of ragged_gather_gemv that reproduces the correct result.
This version is not intended to run faster but only to demonstrate a
working understanding of the original algorithm.