isfunction checks if a function exists.
Returns 1 if the function 'funstr' exists, 0 otherwise. Also returns the location of the function, which is empty if funstr does not exist. Works for both MATLAB and third party functions, e.g. those in FSDA. REMARK: does not work for built-in functions such as sin, cos, etc.