Overloaded method for convenience

Added z coordinate to sprite class 

Added better error handling description