Functional Updates

Added functions to handle predictions