Added a allen matrices script