Added new functions for updating independent function layers

Added new functions for updating independent function layers. Still need
to make changes to main file to add these independent functions.