Debugged digi filter some more. Half the functions may even works now :P