Added initial profile testing code
Adding the missing inline documentation for the profile class
More pythonic way to check for true surface level