boundary matrices script

not working.