added more lower values to scales, fix calculation for filter, need - instead of +, also add if i-filter is <0 to prevent going off of array