added License, fixed layer test, and fixed pose loading