Changed function returning

Tables are now two variables. 
Functions return faster and make less variables.