Update AS5040.cpp

simplified encoder_value, changed function names to not step on other arduino library functions.