--Added error check for wrong size in ogyropsi