Cleanup loadfile(), some tabs/space mixing might explain #370
Don't report infinite dimensions when there is no material