Update src/sorting.f90

By supplying the dim to minloc it will return a scalar, not a length one vector.  This saves the time of allocating to a vector and pulling from it.
Merge pull request #14 from arinrb/patch-1

Update src/sorting.f90