@dansup why not a simple matrix integration?