working on webinterface for adding matrices