Added binary search for uniform sampling.
Spacing consistency.
Extra warning messages when compiling tests.
Fixes for binary search; Now using implicit none everywhere.
More standard approach to opening files; Various spacings/comments.