Add working version of predict.m

This works pretty well using the find function