Simple NVAE implementation intended for effective reuse and learning purposes