Fixed variable arguments input name
Added missing function 'newFigure'

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>