Sparsely Activated Networks: A new method for decomposing and compressing data