Gracefully handle ZeroDivisionError in findMAF