Change type of linear vectors to be numerical slices, not structs. Port code to match. Works well.