simplified compose for the initial release, to a unary composition function.
added checks to string functions
fixed errors in docs that were preventing package build