added extractAdmin function and incorporated this into extractBhatt, renamed checkOccurrences to checkOccurrence and edited a bunch of function docs, changed tutorial to deal with SPDFs