Add `math_lib` with `convolution` and `linear_transform`