removing mixin.Copyable
add sparse filtering loss function to fit with ffn