Moved math operations to be based on float for filter.