Fixed figure viewport. Updated documentation