#187 realized that i cannot filter functional first, it's calculating percent of functional of [water type]. rewrote percent function to include optional filter