Add function to remove NULL elements

in 18 minutes and 43 seconds, using 0 compute credits, and was queued for 2 seconds