added dummy subroutine for testing
renamed variables to fit with rest of code, also calling GauErr