Fix drop primitive for case where n is larger than dimension
Add reverse primitives
Two tests working
Make first accept empty arrays
Add infinity
Implement resi primitive
Inf test is working