added sqrt function with error calc and added tables to cordic