Added two autonomous routines

Added two autonomous routines and edited previous ones.