Check_tidy_input function

The function confirming the input variables fit the requirements of the tensorReg2D function.