Works for all except the right delay
The custom implementation is working!
Has a number of rough edges that still need to be sorted out such as negative elements and so on.