MultiMaterial can now be exported to javascript code

Also fixed a small bug with uAng and vAng.