Basic/buggy implementation of multiple layers

  Think I'm running into a linux/intel issue.