Cleanup Input Function and Transform Function

Added documentation to the matlab input function and also allowed it to
deal with data sets without linking done. Also change the condition of
no origin being used for the polar transform function