Commented out asignFunctionReturnValue

Made a bunch of comments to asignFunctionReturnValue in order to
hopefully narrow it down in complexity.