Switched time offset to a curly bracket syntax
Dependencies almost working
Check if equations have already been defined
Added the if' function