Equivariant Neural Networks for General Linear Symmetries on Lie Algebras