removing matrix code from lingpy